Total Complexity | 41 |
Dependencies | 7 |
Dependents | 4 |
Total lines | 330 |
Lines of code | 250 |
Logical lines of code | 126 |
Comment lines | 6 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_value_to_redemption() | 47 | 9 | 34 | |
get_discount_for_product() | 48 | 9 | 34 | |
redeem() | 38 | 6 | 77 | |
rollback_previous_redemption() | 47 | 5 | 38 | |
get_earned() | 48 | 4 | 37 | |
get_balance() | 71 | 2 | 6 | |
get_balance_value() | 69 | 2 | 7 | |
is_plugin_active() | 80 | 1 | 3 | |
get_min_points() | 73 | 1 | 5 | |
get_points_to_redemption() | 74 | 1 | 5 | |
calculate_discount_modifier() | 74 | 1 | 4 |